import { axios } from '@/utils/request'


export function checkInfoAndRisk() {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/checkInfoAndRisk',
        method: 'post',
    })
}


export function fastAdd(params) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/fastAdd',
        method: 'post',
        params
    })
}

export function pageConfirm(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/pageConfirm',
        method: 'post',
        data,
    })
}
export function pageHzqrd(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/pageHzqrd',
        method: 'post',
        data,
    })
}
export function getHzqrd(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/getHzqrd',
        method: 'post',
        data,
    })
}

export function saveConfirm(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/saveConfirm?applyId=' + data.applyId + '&hzxxqrdbh=' + data.hzxxqrdbh,
        method: 'post',
    })
}
export function getConfirmDetail(applyId) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/getConfirmDetail?applyId=' + applyId ,
        method: 'post',
    })
}
export function revokeConfirm(id) {
    return axios({
        url: '/vatoutinv/vmsHzqrdConfirm/revokeConfirm?id=' + id ,
        method: 'post',
    })
}
